<template>
	<view >
		<u-line></u-line>
		<view class="list-box padlr24 padtb20">
			<view class="block-tit f-s28">收到优惠券请尽快使用哦～</view>
			<view 
				class="list-li mar-t24 h-180 flex ju-bt" 
				v-for="(item, index) in 3"
				:key="index"
				:style="{
					'background': `url(${getImg(index ? 'coupon-bg1' : 'coupon-bg2')}) no-repeat`,
				}"
			>
				<view class="li-l  flex-col flex-center">
					<view class="li-price">
						<text class="price-num">260</text>
						<text class="price-unit">元</text>
					</view>
					<view class="li-tips">无门槛</view>
				</view>
				<view class="li-r  pad-t40 pad-r24 pad-b30 flex ju-bt flex-a-end">
					<view>
						<view class="block-tit f-s28">水氧清洁0元赠送</view>
						<view class="li-time mar-t32">2024.10.30前到期</view>
					</view>
					<view class="r-btn flex-center">
						去使用
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {
			
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.list-li {
		background-size: 100% 100% !important;
		.li-r {
			.r-btn {
				width: 126rpx;
				height: 46rpx;
				background: #FF7171;
				border-radius: 60rpx;
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 22rpx;
				color: #FFFFFF;
			}
			.li-time {
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 22rpx;
				color: #666666;
			}
		}
		.li-l {
			width: 26%;
			.li-tips {
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 24rpx;
				color: #FF7171;
			}
			.li-price {
				color: #FF7171;
				.price-num {
					font-family: Bebas, Bebas;
					font-weight: 400;
					font-size: 60rpx;
				}
				.price-unit {
					font-family: PingFang SC, PingFang SC;
					font-weight: 500;
					font-size: 28rpx;
					color: #FF7171;
				}
			}
		}
		.li-r {
			width: 70%;
		}
	}
</style>
<style>
	page {
		background: #fff;
	}
</style>